<me:UIBGA x:Class="WPFExcelReport.TBS08"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                      xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:TXT="clr-namespace:WPFExcelReport;assembly=TTXTIND"  
                xmlns:GC="clr-namespace:WPFExcelReport;assembly=TGSCOLOR" 
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIBGA.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIBGA.Resources>

    <StackPanel>
        <WrapPanel>
            <TextBlock   Text="{Binding Source={Localization:Translate Word=选择纱线}}"/>
            <WrapPanel Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource nbv}}">
                <TextBlock   Text="{Binding Source={Localization:Translate Word=纱}}"/>
                <TextBlock Text="{Binding BAGGART}"/>
                <TextBlock   Text="{Binding Source={Localization:Translate Word=var}}"/>
                <TextBlock Text="{Binding BAGGVAR}"/>
                <TextBlock   Text="{Binding Source={Localization:Translate Word=色号}}"/>
                <TextBlock Text="{Binding BAGGFARBE}"/>
            </WrapPanel>
            <GC:TSGS07
                KEY="{Binding YARN,ElementName=TV}" 
                IsEdit="{Binding IsEdit,ElementName=TV}" 
                /> 
            <TextBlock   Text="{Binding Source={Localization:Translate Word=行}}"/>
            <ex:TXT72 MaxLength="2" PRE="00" Text="{Binding BAGPOS}" Width="80"
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"/>
            <TextBlock   Text="{Binding Source={Localization:Translate Word=根数}}"/>
            <ex:NumericBox DecimalPlaces="0" Maximum="99999" Text="{Binding BAGFDZ}" Width="120"
                       IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"/>
        </WrapPanel>
    </StackPanel> 
</me:UIBGA>

    
